#ifndef __BSP_SPI_H
#define __BSP_SPI_H

#include "../../imx6ul/imx6ul.h"

void SPI_Init(ECSPI_Type *SPI);
void SPI_Start(ECSPI_Type *SPI);
void SPI_Stop(ECSPI_Type *SPI);
uint8_t SPI_SwapByte(ECSPI_Type *SPI, uint8_t ByteSend);
void SPI_Enable(ECSPI_Type *SPI);

#endif